<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>示例</title>
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/assets/plugins/Font-Awesome-3.2.1/css/font-awesome.css">
<link id="easyuiTheme" rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/assets/ui/jquery-easyui-1.4.1/themes/default/easyui.css">
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/assets/ui/jquery-easyui-1.4.1/themes/icon.css">
<script type="text/javascript"
	src="<%=request.getContextPath()%>/assets/ui/jquery-easyui-1.4.1/jquery.min.js"></script>
<script type="text/javascript"
	src="<%=request.getContextPath()%>/assets/ui/jquery-easyui-1.4.1/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="<%=request.getContextPath()%>/assets/ui/jquery-easyui-1.4.1/locale/easyui-lang-zh_CN.js"></script>
</head>
<body>
	<div style="padding:10px">
		<ul>
			<li style="margin-top:5px"><a href="demo/cascade.jsp">省市级联</a></li>
			<li style="margin-top:5px"><a href="demo/portal.jsp">门户</a></li>
			<li style="margin-top:5px"><a href="demo/echarts.jsp">echarts图表</a></li>
		</ul>
	</div>
	<div id="manageWindow" style="padding: 10px">
		<div class="easyui-layout" data-options="fit:true">
			<div data-options="region:'east',border:false" style="width: 40%;padding: 5px">
				<div class="easyui-panel" data-options="title:'已选角色',fit:true" style="padding: 10px">
					<a href="#" class="easyui-linkbutton" data-options="toggle:true">普通用户</a>
				</div>
			</div>
			<div data-options="region:'west',border:false" style="width: 40%;padding: 5px">
				<div class="easyui-panel" data-options="title:'可选角色',fit:true" style="padding: 10px">
					<a href="#" class="easyui-linkbutton" data-options="toggle:true">超级管理员</a>
					<a href="#" class="easyui-linkbutton" data-options="toggle:true">管理员</a>
				</div>
			</div>
			<div data-options="region:'center',border:false">
				<div style="padding: 20px">
					<table style="width: 100%;height: 100%">
						<tr>
							<td>&nbsp;</td>
						</tr>
						<tr>
							<td>&nbsp;</td>
						</tr>
						<tr>
							<td style="text-align: center;"><a id="addAll" href="#" class="easyui-linkbutton">&gt;&gt;</a></td>
						</tr>
						<tr>
							<td style="text-align: center;"><a id="add" href="#" class="easyui-linkbutton">&gt;</a></td>
						</tr>
						<tr>
							<td>&nbsp;</td>
						</tr>
						<tr>
							<td style="text-align: center;"><a id="remove" href="#" class="easyui-linkbutton">&lt;</a></td>
						</tr>
						<tr>
							<td style="text-align: center;"><a id="removeAll" href="#" class="easyui-linkbutton">&lt;&lt;</a></td>
						</tr>
					</table>
				</div>
			</div>
			<div data-options="region:'south',border:false" style="text-align:right;padding:5px 0 0;">
				<a class="easyui-linkbutton" data-options="iconCls:'icon-ok'" href="javascript:void(0)" onclick="javascript:alert('ok')" style="width:80px">保存</a>
				<a class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" href="javascript:void(0)" onclick="javascript:$('#manageWindow').window('close')" style="width:80px">取消</a>
			</div>
		</div>
	</div>

	<a id="btn" href="#" class="easyui-linkbutton">打开窗口</a>
	<div>

</div>
</body>
<script type="text/javascript">
	$(document).ready(function() {
		$('#btn').linkbutton({
			onClick : function() {
				$('#manageWindow').window('open',{
					forceOpen : true
				});
			}
		});

		$('#manageWindow').window({
			title : '用户角色管理',
			width : 600,
			height : 400,
			closed : true,
			modal : true
		});

	});
</script>
</html>